package com.jpa.demo.factorybeanexample;

public class UserService {

    private String name;

    public UserService(String name) {
        this.name = name;
    }

    public void sayHello() {
        System.out.println("Hello, " + name);
    }
}

